<template>
  <h2 ref="title">嘿嘿</h2>
  <button @click="aa">aa</button>
</template>

<script lang="ts" setup name="Question">
import { ref, defineExpose } from 'vue'

let title = ref()
let a = ref(0)
let b = ref(1)
let c = ref(2)

function aa() {
  console.log(title.value)
}

defineExpose({ a, b, c })
</script>

<style>
</style>